Integrand size = 17, antiderivative size = 77 \[ \int \frac {\sqrt {a+b \sqrt {x}}}{x^2} \, dx=-\frac {\sqrt {a+b \sqrt {x}}}{x}-\frac {b \sqrt {a+b \sqrt {x}}}{2 a \sqrt {x}}+\frac {b^2 \text {arctanh}\left (\frac {\sqrt {a+b \sqrt {x}}}{\sqrt {a}}\right )}{2 a^{3/2}} \]
[Out]
Time = 0.02 (sec) , antiderivative size = 77, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.294, Rules used = {272, 43, 44, 65, 214} \[ \int \frac {\sqrt {a+b \sqrt {x}}}{x^2} \, dx=\frac {b^2 \text {arctanh}\left (\frac {\sqrt {a+b \sqrt {x}}}{\sqrt {a}}\right )}{2 a^{3/2}}-\frac {b \sqrt {a+b \sqrt {x}}}{2 a \sqrt {x}}-\frac {\sqrt {a+b \sqrt {x}}}{x} \]
[In]
[Out]
Rule 43
Rule 44
Rule 65
Rule 214
Rule 272
Rubi steps \begin{align*} \text {integral}& = 2 \text {Subst}\left (\int \frac {\sqrt {a+b x}}{x^3} \, dx,x,\sqrt {x}\right ) \\ & = -\frac {\sqrt {a+b \sqrt {x}}}{x}+\frac {1}{2} b \text {Subst}\left (\int \frac {1}{x^2 \sqrt {a+b x}} \, dx,x,\sqrt {x}\right ) \\ & = -\frac {\sqrt {a+b \sqrt {x}}}{x}-\frac {b \sqrt {a+b \sqrt {x}}}{2 a \sqrt {x}}-\frac {b^2 \text {Subst}\left (\int \frac {1}{x \sqrt {a+b x}} \, dx,x,\sqrt {x}\right )}{4 a} \\ & = -\frac {\sqrt {a+b \sqrt {x}}}{x}-\frac {b \sqrt {a+b \sqrt {x}}}{2 a \sqrt {x}}-\frac {b \text {Subst}\left (\int \frac {1}{-\frac {a}{b}+\frac {x^2}{b}} \, dx,x,\sqrt {a+b \sqrt {x}}\right )}{2 a} \\ & = -\frac {\sqrt {a+b \sqrt {x}}}{x}-\frac {b \sqrt {a+b \sqrt {x}}}{2 a \sqrt {x}}+\frac {b^2 \tanh ^{-1}\left (\frac {\sqrt {a+b \sqrt {x}}}{\sqrt {a}}\right )}{2 a^{3/2}} \\ \end{align*}
Time = 0.14 (sec) , antiderivative size = 68, normalized size of antiderivative = 0.88 \[ \int \frac {\sqrt {a+b \sqrt {x}}}{x^2} \, dx=\frac {\left (-2 a-b \sqrt {x}\right ) \sqrt {a+b \sqrt {x}}}{2 a x}+\frac {b^2 \text {arctanh}\left (\frac {\sqrt {a+b \sqrt {x}}}{\sqrt {a}}\right )}{2 a^{3/2}} \]
[In]
[Out]
Time = 12.80 (sec) , antiderivative size = 60, normalized size of antiderivative = 0.78
method | result | size |
derivativedivides | \(4 b^{2} \left (-\frac {\frac {\left (a +b \sqrt {x}\right )^{\frac {3}{2}}}{8 a}+\frac {\sqrt {a +b \sqrt {x}}}{8}}{b^{2} x}+\frac {\operatorname {arctanh}\left (\frac {\sqrt {a +b \sqrt {x}}}{\sqrt {a}}\right )}{8 a^{\frac {3}{2}}}\right )\) | \(60\) |
default | \(4 b^{2} \left (-\frac {\frac {\left (a +b \sqrt {x}\right )^{\frac {3}{2}}}{8 a}+\frac {\sqrt {a +b \sqrt {x}}}{8}}{b^{2} x}+\frac {\operatorname {arctanh}\left (\frac {\sqrt {a +b \sqrt {x}}}{\sqrt {a}}\right )}{8 a^{\frac {3}{2}}}\right )\) | \(60\) |
[In]
[Out]
none
Time = 0.27 (sec) , antiderivative size = 133, normalized size of antiderivative = 1.73 \[ \int \frac {\sqrt {a+b \sqrt {x}}}{x^2} \, dx=\left [\frac {\sqrt {a} b^{2} x \log \left (\frac {b x + 2 \, \sqrt {b \sqrt {x} + a} \sqrt {a} \sqrt {x} + 2 \, a \sqrt {x}}{x}\right ) - 2 \, {\left (a b \sqrt {x} + 2 \, a^{2}\right )} \sqrt {b \sqrt {x} + a}}{4 \, a^{2} x}, -\frac {\sqrt {-a} b^{2} x \arctan \left (\frac {\sqrt {b \sqrt {x} + a} \sqrt {-a}}{a}\right ) + {\left (a b \sqrt {x} + 2 \, a^{2}\right )} \sqrt {b \sqrt {x} + a}}{2 \, a^{2} x}\right ] \]
[In]
[Out]
Time = 2.07 (sec) , antiderivative size = 105, normalized size of antiderivative = 1.36 \[ \int \frac {\sqrt {a+b \sqrt {x}}}{x^2} \, dx=- \frac {a}{\sqrt {b} x^{\frac {5}{4}} \sqrt {\frac {a}{b \sqrt {x}} + 1}} - \frac {3 \sqrt {b}}{2 x^{\frac {3}{4}} \sqrt {\frac {a}{b \sqrt {x}} + 1}} - \frac {b^{\frac {3}{2}}}{2 a \sqrt [4]{x} \sqrt {\frac {a}{b \sqrt {x}} + 1}} + \frac {b^{2} \operatorname {asinh}{\left (\frac {\sqrt {a}}{\sqrt {b} \sqrt [4]{x}} \right )}}{2 a^{\frac {3}{2}}} \]
[In]
[Out]
none
Time = 0.29 (sec) , antiderivative size = 100, normalized size of antiderivative = 1.30 \[ \int \frac {\sqrt {a+b \sqrt {x}}}{x^2} \, dx=-\frac {b^{2} \log \left (\frac {\sqrt {b \sqrt {x} + a} - \sqrt {a}}{\sqrt {b \sqrt {x} + a} + \sqrt {a}}\right )}{4 \, a^{\frac {3}{2}}} - \frac {{\left (b \sqrt {x} + a\right )}^{\frac {3}{2}} b^{2} + \sqrt {b \sqrt {x} + a} a b^{2}}{2 \, {\left ({\left (b \sqrt {x} + a\right )}^{2} a - 2 \, {\left (b \sqrt {x} + a\right )} a^{2} + a^{3}\right )}} \]
[In]
[Out]
none
Time = 0.29 (sec) , antiderivative size = 72, normalized size of antiderivative = 0.94 \[ \int \frac {\sqrt {a+b \sqrt {x}}}{x^2} \, dx=-\frac {\frac {b^{3} \arctan \left (\frac {\sqrt {b \sqrt {x} + a}}{\sqrt {-a}}\right )}{\sqrt {-a} a} + \frac {{\left (b \sqrt {x} + a\right )}^{\frac {3}{2}} b^{3} + \sqrt {b \sqrt {x} + a} a b^{3}}{a b^{2} x}}{2 \, b} \]
[In]
[Out]
Time = 6.22 (sec) , antiderivative size = 54, normalized size of antiderivative = 0.70 \[ \int \frac {\sqrt {a+b \sqrt {x}}}{x^2} \, dx=\frac {b^2\,\mathrm {atanh}\left (\frac {\sqrt {a+b\,\sqrt {x}}}{\sqrt {a}}\right )}{2\,a^{3/2}}-\frac {\sqrt {a+b\,\sqrt {x}}}{2\,x}-\frac {{\left (a+b\,\sqrt {x}\right )}^{3/2}}{2\,a\,x} \]
[In]
[Out]